/*
 * MainFrame.java
 *
 * Created on 12 October 2007, 16:47
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package fecchi.gui;

import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author rcc4
 */
public class MainFrame extends JFrame {
    
    JPanel buttonPanel;
    MainWindow mainWindow;
    JPanel statusBar;
    
    public MainFrame() {
        this.initFrame();
        this.setVisible(true);
    }
    
    void initFrame(){
        buttonPanel = new JPanel();
        mainWindow = new MainWindow();
        statusBar = new JPanel();
        
        this.setLayout(new BorderLayout());
        this.add(buttonPanel,BorderLayout.NORTH);
        this.add(mainWindow,BorderLayout.CENTER);
        this.add(statusBar,BorderLayout.SOUTH);
    }
    
}
